put an end to
verb
°to terminate or abolish something.
"He put an end to the loud music by pulling the plug."
synonyms: put a stop to